package MemoryManager;

public class EmptyBlock {
    private int startLoc; // 起址
    private int allocated;  // 占用空间

    public EmptyBlock(int startLoc, int allocated) {
        this.startLoc = startLoc;
        this.allocated = allocated;
    }

    public int getAllocated() {
        return allocated;
    }

    public void setAllocated(int allocated) {
        this.allocated = allocated;
    }

    public int getStartLoc() {
        return startLoc;
    }

    public void setStartLoc(int startLoc) {
        this.startLoc = startLoc;
    }
    
}
